<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title></title>
</head>

<body>
    <div id="container">

    </div>
    <button type="button" id="button"></button>
</body>
<script type="text/javascript">
    var button = document.getElementById('button');
    button.onclick = function() {
        console.log("a");
        console.log("b");
    }
</script>

</html>
